package xaunke;
public class ceshi {
	public static void main(String[] args){
		Course c1=new Course(1001,60,"C语言","教105","周一一二节");
		Course c2=new Course(1006,100,"Python","教303","周五一二节");
		Course c3=new Course(1009,90,"java","综0911","周六三四节");
		System.out.println("课程注册完成");
		Teacher  t1=new Teacher(100002,1995,"李明","男","贵州",c1);
		Course c4=new Course();
		System.out.println("教师注册完成");
		Student s1=new Student(2020310000,"张三","男","河南",c3);
		Student s2=new Student(2020310003,"老六","男","北京",c2);
		System.out.println("学生注册完成");
		System.out.println("李老师所教授的课程为"+c1.cnumber+"  "+c1.cname);
		System.out.println("张同学所选择的课程为"+c3.cnumber+"  "+c3.cname);
		System.out.println("张三同学的课表：");
		System.out.println(s1.sname+"   "+s1.snumber);
		System.out.println("课程名称："+c1.cname+"\n"+"课程编号："+c1.cnumber+"\n"+"上课地点："+c1.location+"\n"+"上课时间："+c1.time+"\n"+"授课教师:"+t1.tname);
		s2=new Student(2020310003,"老六","男","北京",c4);
		System.out.println(s2.sname+"同学"+"退课成功\n"+"课表为"+c4.cname);
	}
}
